package com.chuangsi.project.admin.dto.app.esign;


import com.chuangsi.project.admin.dto.esign.ResResponseDataDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author wangshengming
 * @date 2023/4/7
 */
@Data
public class ResESignGetSignFlowDetailDto extends ResResponseDataDto {

    @ApiModelProperty(value = "data")
    private ResData data;

    @Data
    public static class ResData {

        @ApiModelProperty(value = "当前流程的状态 0 - 草稿 1 - 签署中 2 - 完成 3 - 撤销 5 - 过期（签署截至日期到期后触发）7 - 拒签")
        private Integer signFlowStatus;
    }

    public static ResESignGetSignFlowDetailDto getSignFlowDetail(Integer signFlowStatus) {
        ResESignGetSignFlowDetailDto resESignGetSignFlowDetailDto = new ResESignGetSignFlowDetailDto();
        ResData resData = new ResData();
        resData.setSignFlowStatus(signFlowStatus);
        resESignGetSignFlowDetailDto.setData(resData);
        return resESignGetSignFlowDetailDto;
    }



}
